﻿@using Resources
@model NetSurveillance.WebApp.Models.QQPasswordModel
@{
    ViewBag.Title = "添加QQ账号";
    Layout = "~/Views/Shared/_SimpleLayout.cshtml";
}
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>添加QQ账号/密码</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Account)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Account)
            @Html.ValidationMessageFor(model => model.Account)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Password)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div>
        @Html.HiddenFor(m => m.Id)
        <p>
            <input type="submit" value="@Resource.Button_Save" />
            <input type="button" value="@Resource.Button_Cancel"  onclick="window.location.href='@Url.Action("QQPasswordsManager")'"/>
        </p>
    </fieldset>
}
